<script setup lang='ts'>
import { useCounterStore } from '@/stores/counters';

const store = useCounterStore()
</script>

<template>
    <h1>显示当前的全局状态</h1>
    <h2>{{ store.count }}</h2>
</template>

<style scoped></style>